adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / ADTObjectCollectionT<T> Class / RenumberContents Method


In This Topic
    RenumberContents Method
    In This Topic
    Updates sequence numbers for all items in collection. This method must be explicitly called to renumber contents.
    Syntax
    'Declaration
     
    
    Public Overridable Sub RenumberContents() 
    public virtual void RenumberContents()
    public:
    virtual void RenumberContents(); 
    Remarks
    RenumberContents iterates through all items in the collection if they implement the ISequencedCollectionMember. If so, ISequencedCollectionMember.SetSequenceNumber is called. This is used, for example, in a collection of JobSteps, where the StepNumber needs to be set on each step to keep them in the correct order.
    See Also